package event

type RegisterEventRequest struct {
	Name         string `json:"name" validate:"required,min=1,max=64"`
	ResourceType string `json:"resource_type" validate:"oneof=user fleet build instance process session request"`
	TraceService string `json:"trace_service" validate:"oneof=fleetmanager appgateway aass auxproxy"`
	ResourceId   string `json:"resource_id" validate:"min=0,max=64"`
	ResourceName string `json:"resource_name" validate:"min=0,max=64"`
	TraceState   string `json:"trace_state" validate:"oneof=NORMAL WARNING INCIDENT"`
	EventType    string `json:"event_type" validate:"oneof=data manager"`
	SourceIp     string `json:"source_ip" validate:"ip"`
	Details      string `json:"details"`
	SmnMessage   string `json:"message" validate:"min=0,max=490"`
}
